<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>炫生活服务平台会员管理后台</title>
    <link rel="shortcut icon" href="../../static/common/img/favicon.ico"/>
    <style>
        .fl{float:left;}
        .fr{float:right;}
        .clear{clear:both;}
        ul{padding:0;}
        li{list-style:none}
        a{text-decoration : none}

        /*修改bootstrap表格边框颜色*/
        .table-bordered th,
        .table-bordered td {
            border: 1px solid #bbb !important;
            text-align:center;
            font-size:16px;
        }
    </style>
    <link rel="stylesheet" href="../../static/common/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../static/index/css/menu.css">
</head>
<body>
<ul id="navul" class="cl" style="top:30px;left:20px;">
    <li style="background: #006d96;">
        <a href="#">导航栏</a>
        <ul>
            <li><a href="{:url('index/index/full_data_overview')}">数据概览</a></li>
            <li><a href="{:url('index/index/full_real_time')}">实时数据</a></li>
            {if condition="$_SESSION['think']['user']['username'] eq 'xuanlife1'"}
            <li><a href="{:url('index/index/full_member_data')}">会员管理</a></li>
            <li><a href="{:url('index/index/full_transaction_data')}">交易数据</a></li>
            {/if}
        </ul>
    </li>
</ul>
<section class="content-header">
    <h1 style="text-align:center;margin-bottom:50px;">
        炫生活服务平台会员管理后台
    </h1>
</section>
<section class="content container-fluid">
    <table class="table table-hover table-bordered">
        <tr>
            <td class="col-md-1">会员用户</td>
            <td class="col-md-1">联系方式</td>
            <td class="col-md-2">注册时间</td>
            <td class="col-md-2.5">订单商家</td>
            <td class="col-md-1.5">最近一次订单金额（元）</td>
            <td class="col-md-2">最近一次下单时间</td>
            <td class="col-md-2">最近一次付款时间</td>
        </tr>
        {volist name='res' id='val'}
        <tr>
            <td>{$val['user']}</td>
            <td>{$val['phone']}</td>
            <td>{$val['zhuce_time']}</td>
            <td>
                <?php
					echo '****'.str_replace(mb_substr($val['store_name'],0,2,'utf-8'),'',$val['store_name']);
				?>
            </td>
            <td>{$val['order_price']}</td>
            <td>{$val['order_time']}</td>
            <td>{$val['pay_time']}</td>
        </tr>
        {/volist}
    </table>
    <div>
        <span style="float:left;margin-top:20px;font-size: 16px;">
            总计会员数：{$count}
        </span>
        <span style="float:right;">
            {$page}
        </span>
    </div>
</section>
</body>
<script src="../../static/common/js/jquery.min.js"></script>
<!--菜单js-->
<script type="text/javascript" src="../../static/index/js-full/menu.js"></script>
</html>
